<template>
	<view>
		<view class="smart-container container">
			<text>容器</text>

			<view class="smart-panel-title"><text>我是标题</text></view>

			<view class="click-event" @click="toApi"><text>点我跳转到api</text></view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			toApi() {
				uni.switchTab({
					url: '/pages/tabBar/api/api'
				})
			}
		}
	}
</script>

<style>
	.container {
		display: flex;
		flex-direction: column;
		gap: 30rpx;
	}
</style>